package com.zatech.cgnci.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.CgnciRiskQueryDTO;
import com.zatech.cgnci.project.entity.CgnciRiskDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zatech.cgnci.project.vo.CgnciRiskClassVO;
import com.zatech.cgnci.project.vo.CgnciRiskSubTypeVO;
import com.zatech.cgnci.project.vo.CgnciRiskVO;

import java.util.List;

/**
 * <p>
 * 险种基础表 服务类
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
public interface CgnciRiskService extends IService<CgnciRiskDO> {

    IPage<CgnciRiskVO> pageRisk(CgnciRiskQueryDTO riskQueryDTO);

    List<CgnciRiskClassVO> listRiskClass();

    List<CgnciRiskSubTypeVO> listRiskSubType(String riskClassCode, String riskSubType);

    List<CgnciRiskSubTypeVO> listRiskInfoBySubTypeCode(String riskSubTypeCodes);
}
